package com.huazai.thread;

public class sellTicketThread implements Runnable{

	private Ticket tickets;
	
	
	
	public sellTicketThread() {
		super();
	}



	public sellTicketThread(Ticket tickets) {
		super();
		this.tickets = tickets;
	}



	@Override
	public void run() {
		tickets.sellTicket(tickets.sellNum);
	}

}
